/*
 * SSI_LINK_LAYER_UT.h
 *
 *  Created on: 3/10/2011
 *      Author: Santiago Carmona Meco
 */

#ifndef __SSI_LINK_LAYER_UT_H_
#define __SSI_LINK_LAYER_UT_H_

#include <public/ut_base.h>
#include <public/basic_types.h>


class SSI_LINK_LAYER_UT:public CUTBase
{
	friend class CUTManager;

public:
	SSI_LINK_LAYER_UT(const char *id, bool_t priority = false, bool_t setSeed = false, int32_t seed = 0);
	bool_t DoTest(void);
	virtual ~SSI_LINK_LAYER_UT();
	bool_t Check_Radio_Id(byte_t * pFrame, byte_t *pRadioId);
	bool_t Check_Sensor_Id(byte_t * pFrame, word16_t SensorId);
	bool_t Check_Flags(byte_t * pFrame, byte_t flags);
	bool_t Check_Reserved(byte_t * pFrame, byte_t *pReserved);
	bool_t Check_Length(byte_t * pFrame, byte_t lenght);
	bool_t Check_Data(byte_t * pFrame, byte_t *pData);
	bool_t Check_Data_Frame_Info(byte_t * pFrame,struct ssi_link_layer_data_frame_info_t frameInfo);
	bool_t Check_Signal_Frame_Info(byte_t * pFrame,struct ssi_link_layer_signal_frame_info_t frameInfo);
};




#endif /* __SSI_LINK_LAYER_UT_H_ */
